﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/PrincipalUbicaTuReu.Master" Inherits="System.Web.Mvc.ViewPage<UPC.UbicaTuReu.WEB.Dominio.Salas>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    
      <%  Html.EnableClientValidation(); %>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend><b>CREAR SALAS</b></legend>
            <br>
            <div class="editor-label">
               <b>CODIGO</b>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.SalaID) %>
                <%: Html.ValidationMessageFor(model => model.SalaID) %>
            </div>
            
            <div class="editor-label">
               <b>NOMBRE</b>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.SalaNombre) %>
                <%: Html.ValidationMessageFor(model => model.SalaNombre) %>
            </div>
            
            <div class="editor-label">
                <b>DESCRIPCION</b>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.SalaDescripcion) %>
                <%: Html.ValidationMessageFor(model => model.SalaDescripcion) %>
            </div>
            
            <div class="editor-label">
                <b>UBICACION</b>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.SalaUbicacion) %>
                <%: Html.ValidationMessageFor(model => model.SalaUbicacion) %>
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
            </br>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("Retornar", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

